<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/tags.jspf" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<template:header context="${context}" title="Redmine"/>
</head>
<body class="controller-my action-password">
	<template:content context="${context}" session="${session}" sidebar="account">
		<h2>Change password</h2>
        <ui:errors path="password.*"/>
        
		<form:form commandName="password" accept-charset="UTF-8" action="${context}/my/password" class="tabular" method="post">
			<div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="70LXPtgEjkRjAsdHKPWEbkRffdutsYUJGic8PU8J9cc=" /></div>
			<div class="box">
				<p><label for="password">Password <span class="required">*</span></label>
				<form:password path="password" size="25"/></p>
				
				<p><label for="newPpassword">New password <span class="required">*</span></label>
				<form:password path="newPassword" size="25"/>
				<em class="info">Must be at least 4 characters long.</em></p>
				
				<p><label for="newPasswordConfirmation">Confirmation <span class="required">*</span></label>
					<form:password path="newPasswordConfirmation" size="25"/>
				</p>
			</div>
			<input name="commit" type="submit" value="Apply"/>
		</form:form>
	        	<div style="clear:both;"></div>
	</template:content>
</body>
</html>
    